<?php
//include_once dirname(__FILE__).'./_config.php';
include_once LIB_PTH.'smarty/Smarty.class.php';

$T = new Smarty();
$T->cache			= false;
$T->compile_check	= false;						// 查检编译
$T->debugging		= false;						// 启用调试
//$T->caching		= 1;							// 启用缓存
$T->cache_lifetime	= 0;							// 缓存时间，单位秒
$T->force_compile	= true;							// 强制编译，调试时才能即时看到更新

$T->template_dir	= THR_PTH;						// 默认为主题根目录

$T->config_dir		= DAT_PTH . 'config/';
$T->compile_dir		= DAT_PTH . 'compile/';
$T->cache_dir		= DAT_PTH . 'cache/';

#$T->left_delimiter	= '{{';
#$T->right_delimiter	= '}}';
?>